package com.donn.securitycontrolplatform.dangerousgood.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TStorage对象", description="")
public class TStorage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一编号")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "种类：高压气瓶，火工品等")
    private String category;

    @ApiModelProperty(value = "入库数量 ")
    private Integer storageInQuantity;

    @ApiModelProperty(value = "出库数量")
    private Integer storageOutQuantity;

    @ApiModelProperty(value = "处理状态")
    private String status;

    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "出库操作人")
    private String outOperator;

    @ApiModelProperty(value = "结余数量")
    private String quantity;

    @ApiModelProperty(value = "出入库时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
